package com.qf.cx.simplenms.link.rai.model;

import java.util.ArrayList;
import java.util.List;
import com.sun.jna.Structure;


public class TagWriteResult extends Structure {
	
	public int antennaId;
	public int opNum;
	public byte[] tidData = new byte[8];
	public WriteOpResult[] writeOpResult= new WriteOpResult[RaiLimit.MAX_OP_NUM];
	
	{
		for(int i = 0; i < RaiLimit.MAX_OP_NUM; i++)
		{
			writeOpResult[i] = new WriteOpResult();
		}
	}
	
	public static class ByValue  extends TagWriteResult implements Structure.ByValue  { }		
	public static class ByReference extends TagWriteResult implements Structure.ByReference { }
	
    @Override  
    protected List<String> getFieldOrder() {  
        List<String> a = new ArrayList<String>();  
        a.add("antennaId");   
        a.add("opNum");  
        a.add("tidData");   
        a.add("writeOpResult");
        return a;  
    }
    
}
